package org.kzwl.service.web.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.kzwl.comm.pojo.ResponseData;
import org.kzwl.entity.web.Admin;
import org.kzwl.entity.web.Town;

import org.kzwl.mapper.web.TownMapepr;
import org.kzwl.service.web.TownService;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TownServiceImpl extends ServiceImpl<TownMapepr, Town> implements TownService {
    @Override
    public ResponseData<List<Town>> queryList() {
        return new ResponseData<>(this.list());
    }
}
